#pragma warning disable 108
using System;
using System.Runtime.InteropServices;
using System.Collections.Generic;
using Cephei;
using Cephei.Core;
using Cephei.Core.Generic;
using Microsoft.FSharp.Core;
using Cephei.QL.Instruments;
using Cephei.QL;
using Cephei.QL.Termstructures;
namespace Cephei.QL.Termstructures.Yield
{
    /// <summary> 
	/// ! \warning This class assumes that the reference date does not change between calls of setTermStructure().
	/// </summary>
    [Guid ("82906847-8A20-4f79-B833-AC839067C9EE"),ComVisible(true)]
	public interface IBondHelper : Cephei.QL.Termstructures.Yield.IRateHelper
	{
		///////////////////////////////////////////////////////////////
        // Methods
        //
        /// <summary> 
		/// 
		/// </summary>
		 Cephei.QL.Instruments.IBond Bond {get;}
        /// <summary> 
		/// 
		/// </summary>
		 Double ImpliedQuote {get;}
        /// <summary> 
		/// 
		/// </summary>
		 IBondHelper SetTermStructure(Cephei.QL.Termstructures.IYieldTermStructure t);
    }   

    /// <summary> 
	/// ! \warning This class assumes that the reference date does not change between calls of setTermStructure(). Factory
	/// </summary>
   	[ComVisible(true)]
    public interface IBondHelper_Factory : INativeCollection_Factory<IBondHelper>
    {
        ///////////////////////////////////////////////////////////////
        // Factory methods
        //
        /// <summary>
        /// Create a hybrid Vector of IBondHelper, with event notification of changes
        /// </summary>
        /// <returns>a new Vector&ltIBondHelper&gt</returns>
        IVector<IBondHelper> CreateVector();
        /// <summary>
        /// Create a hybrid Vector of ICell of IBondHelper, with event notification of changes
        /// </summary>
        /// <returns>a new ICell&ltIVector&ltI&ltIBondHelper&gt&gt&gt</returns>
        ICoCell<IVector<ICoCell<IBondHelper>>> CreateCellVector();
        IVector<IBondHelper> CreateVector (IEnumerable<IBondHelper> source);
        ICoCell<IVector<ICoCell<IBondHelper>>> CreateCellVector (IEnumerable<ICoCell<IBondHelper>> source);
        /// <summary> 
		/// 
		/// </summary>
	    IBondHelper Create (Cephei.QL.IQuote cleanPrice, Cephei.QL.Instruments.IBond bond);
    }
}

